package com.ctl.mapper;

import com.ctl.entity.Comment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author stars
* @description 针对表【comment(评论)】的数据库操作Mapper
* @createDate 2023-03-03 15:10:34
* @Entity com.ctl.entity.Comment
*/
public interface CommentMapper extends BaseMapper<Comment> {
    List<Comment> getByVideoIdComment(@Param("video_id")Integer video_id,
                                      @Param("page")Integer page,@Param("per_page")Integer per_page);
}




